﻿<!DOCTYPE html>
<html>
<head>	
    <meta charset="utf-8" />
	<title>XMas</title>
    <style> body { margin: 0; background: url("assets/backdrop.jpg")  no-repeat center; } </style>
    <script src="src/phaser.min.js"></script>
    <script src="src/boot.js"></script>
    <script src="src/globalvariables.js"></script>
    <script src="src/preloader.js"></script>
    <script src="src/mainmenu.js"></script>
    <script src="src/gameover.js"></script>
    <script src="src/game.js"></script>
</head>
<body>
    <script>
        (function() {
            // initialize the framework
            var game = new Phaser.Game(800, 600, Phaser.AUTO, 'gameHolder', {}, true, true);
            // add game states
            game.state.add('Boot', XMas.Boot);
            game.state.add('GameOver', XMas.GameOver);
            game.state.add('Preloader', XMas.Preloader);
            game.state.add('MainMenu', XMas.MainMenu);
            game.state.add('Game', XMas.Game);
            // start the Boot state
            game.state.start('Boot');
        })();
    </script>
</body>
</html>